
#ifndef __PAC_H__
#define __PAC_H__

#include "define.h"


#ifdef __cplusplus
extern "C" {
#endif

void init_PACA(void);
void set_PACA(xuint16 val /*=0*/); //not supported by c
xuint16 get_PACA(void);

void set_PACA_L(xuint16 val);
void set_PACA_R(xuint16 val);
xuint16 get_PACA_L(void);
xuint16 get_PACA_R(void);

#ifdef __cplusplus
}
#endif

#endif